#pragma once

#include <iostream>
#include <vector>
#include <curl/curl.h>
#include <CIckdXml.h>
#include "CStringTransform.h"

class CHttpReply
{
public:
	CHttpReply(void);
	~CHttpReply(void);
	void FormatReplyData(const string &paramStr);
	void AddReplyData(CListDataItem dataParam);
	vector<CListDataItem > GetReplyData();

	void ClearReplyDatas();
	static CHttpReply *GetHttpReplyer();
	void SetNumber(const CString &num);
	void SetCompant(const CString &company);
private:
	void SearchOver();

	static CHttpReply *s_HttpReplyer;

	vector<CListDataItem > m_ReplyData;

	CIckdXml m_xmler;
	CStringTransform m_Trans;
	CString m_Num;
	CString m_Company;
};
